<template>
    <div class="e-table">
        <el-table
            :data="tableData"
            border
            style="width: 100%"
            @cell-mouse-enter="cellMouseEnter"
            @cell-mouse-leave="cellMouseLeave"
            :cell-class-name="cellClsNm"
            :max-height="$store.state.tableHeight"
            ref="table"
            v-sortTable="{ tableData: tableData, _this: this, ref: 'table' }"
        >
            <el-table-column show-overflow-tooltip prop="unitName" label="审核级次">
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="assignUser" label="审核人" width="120">
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="userTitle" label="审核人岗位" width="120">
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="notifyTime" label="通知时间" width="180">
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="completeTime" label="审核时间" width="180">
            </el-table-column>
            <el-table-column show-overflow-tooltip prop="opinion" label="审核意见" width="250">
            </el-table-column>
        </el-table>
        <ComPagination />
    </div>
</template>

<script>
import auditRequest from '@/api/tender/audit.js'

export default {
    data () {
        return {
            // 招标单据
            // 工程施工招标6021 其他工程招标6022 物资供应招标6023 物资加工招标6024 周材租赁招标6025 服务采购招标6026 机材收入招标6027 设备采购招标6028 设备租赁招标6029
            auditParams: {
                billId: this.$route.query.tenderId || this.$route.query.billid,
                billType: 6021,
                freeNextUnitIndex: 0,
                freeNextUser: '',
                isPass: true,
                isShareInAudit: true,
                opinion: ''
            },
            tableData: []
        }
    },
    created () {
        auditRequest.getAuditHistory(this.auditParams).then(res => {
            this.tableData = res
        })
    },
    methods: {}
}
</script>

<style lang="sass" scoped></style>
